const { createProxyMiddleware } = require('http-proxy-middleware');

module.exports = function(app) {
    app.use(
        '/',
        createProxyMiddleware({
            target: 'http://10.217.247.48:9050', // 第二个后端接口的域名
            changeOrigin: true
        })
    );
};
